<?php
/**
 * Created by PhpStorm.
 * User: roguefeathers
 * Date: 2018-10-12
 * Time: 19:35
 */
//设置header头禁止浏览器缓存当前页面
header("Cache-Control:no-cache");
header("Pragma:no-cache");
header("Expires:-1");

$fp = fopen("test.txt","a");
fwrite($fp, "php ");
fclose($fp);